<?php
/**
 *
 * @version
 * @author duongthienduc
 **/

class Bet_Form_News_Category extends Zend_Form {

	public function init()
	{
		$this->setMethod('post')
			->addPrefixPath('Bet_Form_Element', 'Bet/Form/Element/', Zend_Form::ELEMENT)
			->addElement(
	            'text', 'title', array(
	                'label' => 'Title:',
	                'required' => true,
	                'filters'    => array('StringTrim'),
			))
			->addElement('textarea', 'description', array(
	            'label' => 'Description:',
	            'required' => true,
				'cols' => 40,
				'rows' => 4,
			))
			->addElement('submit', 'submit', array('ignore'   => true, 'label'    => 'Save', ))
			->addElement('hidden', 'cid');
	}

}
?>